/**
 * ReportGear(2011)
 */
package com.reportgear.designer.action.edit;

import java.awt.event.ActionEvent;

import javax.swing.SwingUtilities;

import com.reportgear.core.util.ImageUtils;
import com.reportgear.designer.action.ReportAction;
import com.reportgear.report.model.cell.value.salary.enhance.SalaryMainObjectSortPane;

/**
 * 排序对象
 * 
 * @version 1.0 2011-6-15
 * @author <a herf="lexloo@gmail.com">lexloo</a>
 * @since report 1.0
 */
public class SortSalaryObjectAction extends ReportAction {

	public SortSalaryObjectAction() {
		setName("排序");
		setSmallIcon(ImageUtils.readIcon("/resources/images/edit/sorter.png"));
	}

	public void actionPerformed(ActionEvent e) {
		SalaryMainObjectSortPane pane = new SalaryMainObjectSortPane();

		pane.showDialog(SwingUtilities.getWindowAncestor(this.getWorkSheet()), "排序", 350, 600);
	}
}
